package com.micai.springboot.service.impl;

import com.micai.springboot.mapper.UserMapper;
import com.micai.springboot.domain.User;
import com.micai.springboot.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 描述：
 * <p>
 * Author: 赵新国
 * Date: 2017/11/7 16:18
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User findUserByUserName(String username) {
        return userMapper.findByUserName(username);
    }
}
